ostree/trivial-httpd: Add Last-Modified/ETag support
authorPhilip Withnall <pwithnall@endlessos.org>
Fri, 9 Oct 2020 17:46:06 +0000 (18:46 +0100)
committerPhilip Withnall <pwithnall@endlessos.org>
Thu, 22 Oct 2020 20:03:34 +0000 (21:03 +0100)
commit92215025aa0eb65f575700d0f3c286d594397e4f
tree3b5e3e1c60d774aca1005bfe65443d28da6d4bf3
parenta522bf76283eeb88fcab99a5ee9e54aa0e13f041
ostree/trivial-httpd: Add Last-Modified/ETag support

This is basic support for the
Last-Modified/ETag/If-Modified-Since/If-None-Match headers. It’s not
high performance, and doesn’t support all of the related caching
features (like the If-Match header, etc.).

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
src/ostree/ostree-trivial-httpd.c